home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-04-03 | 1.7 KB | 58 lines | [TEXT/MPS ] |
- ; File: E16.ADB
- ;
- ;
- ; Copyright Apple Computer, Inc. 1986-90
- ; All Rights Reserved
- ;
- ;
- cmndIncomplete EQU $0910 ; Command not completed.
- cantSync EQU $0911 ; Can't synchronize
- adbBusy EQU $0982 ; Busy (command pending)
- devNotAtAddr EQU $0983 ; Device not present at address
- srqListFull EQU $0984 ; List full
- readModes EQU $000A
- readConfig EQU $000B
- readADBError EQU $000C
- readVersionNum EQU $000D
- readAvailCharSet EQU $000E
- readAvailLayout EQU $000F
- abort EQU $0001
- resetKbd EQU $0002
- flushKbd EQU $0003
- setModes EQU $0004 ; 2nd param is pointer to mode byte
- clearModes EQU $0005 ; 2nd param is pointer to mode Byte
- setConfig EQU $0006 ; 2nd param is pointer to SetConfigRec
- synch EQU $0007 ; 2nd param is pointer to SynchRec
- writeMicroMem EQU $0008 ; 2nd param is pointer to MicroControlMemRec
- resetSys EQU $0010
- keyCode EQU $0011 ; 2nd param is pointer to key code byte.
- resetADB EQU $0040
- transmitADBBytes EQU $0047 ; add number of bytes to this
- enableSRQ EQU $0050 ; ADB address in low nibble
- flushADBDevBuf EQU $0060 ; ADB address in low nibble
- disableSRQ EQU $0070 ; ADB address in low nibble
- transmit2ADBBytes EQU $0080 ; add ADB address to this
- listen EQU $0080 ; adbCommand = listen + ( 16 * reg) + (adb address)
- talk EQU $00C0 ; adbCommand = talk + ( 16 * reg) + (adb address)
- readMicroMem EQU $0009
- ; offset constants for ReadConfigRec
- orcADBAddr EQU 0
- orcLayoutOrLang EQU 1
- orcRepeatDelay EQU 2
- ; offset constants for SetConfigRec
- oscADBAddr EQU 0
- oscLayoutOrLang EQU 1
- oscRepeatDelay EQU 2
- ; offset constants for SynchRec
- osynchMode EQU 0
- osynchKybdMouseAddr EQU 1
- osynchLayoutOrLang EQU 2
- osynchRepeatDelay EQU 3
- ; offset constants for ScaleRec
- oxDivide EQU 0
- oyDivide EQU 2
- oxOffset EQU 4
- oyOffset EQU 6
- oxMultiply EQU 8
- oyMultiply EQU 10
-